package zhupf.test.designPattern.bridge;

public class Client {
    public static void main(String[] args) {
        Phone foldedPhone = new FoldedPhone(new Vivo());
        foldedPhone.openPhone();
        foldedPhone.call();
        foldedPhone.closePhone();
        System.out.println("===========================");
        UpRightPhone upRightPhone = new UpRightPhone(new IPhone());
        upRightPhone.openPhone();
        upRightPhone.call();
        upRightPhone.closePhone();
    }
}
